const Koa = require('koa');
const router = require('./app/router')
const bodyParser = require('koa-bodyparser')
const app = new Koa();

// app.use(async ctx => {
//   ctx.body = 'Hello World';
// });

app.use(bodyParser())
app.use(router)
app.listen(3000,()=>{console.log('server listener on http://localhost:3000')});